//
//  StatisticModel.swift
//  Crypto
//
//  Created by DaleGuo on 2023/9/23.
//

import Foundation

struct StatisticModel: Identifiable {
    let id = UUID().uuidString
    let title: String
    let value: String
    let percentageChanged: Double?

    init(title: String, value: String, percentageChanged: Double? = nil) {
        self.title = title
        self.value = value
        self.percentageChanged = percentageChanged
    }
}
